PREFIX=`pwd`

rm -rf ~/.vim
rm -f ~/.vimrc
rm -f ~/.ycm_extra_conf.py
rm -f ~/.bashrc

ln -s ${PREFIX}/vim ~/.vim
ln -s ${PREFIX}/vimrc ~/.vimrc
ln -s ${PREFIX}/ycm_extra_conf.py ~/.ycm_extra_conf.py
ln -s ${PREFIX}/bashrc ~/.bashrc

mkdir ~/.config
ln -s ~/.vim ~/.config/nvim
ln -s ~/.vimrc ~/.config/nvim/init.vim

source ~/.bashrc
